package com.student.service.impl;

import com.student.mapper.ClassesMapper;
import com.student.model.Classes;
import com.student.service.ClassesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ClassesServiceImpl implements ClassesService {
    @Autowired//自动注入
    private ClassesMapper classesMapper;

    @Override
    public List<Classes> getClassesIncludeStudentInfoById(Integer classId) {
        return classesMapper.getClassesIncludeStudentInfoById(classId);
    }
}
